package com.yuyou.train.user.service;

import java.util.List;

import com.yuyou.train.service.api.user.entity.UserHwTeacher;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;

public interface IUserHwTeacherService {
    int deleteByPrimaryKey(String id);

    int insert(UserHwTeacher record);

    UserHwTeacher selectByPrimaryKey(String id);
    
    UserHwTeacher selectByHwAndUserId(String userHwId,String userId);

    int updateByPrimaryKeySelective(UserHwTeacher record);
    
    ResBoolSimpleInfo<String> addUserHw(UserHwTeacher userHwTeacher);
    
    ResBoolSimpleInfo<String> addMyTeacherUserHw(String userHwId,String teacherId,String status);
    
    ResBoolSimpleInfo<String> addTeacherUserHw(String userHwId,String classId);
    
    List<UserHwTeacher> findByHw(String userHwId,String status);
    
    
}